/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.uit.ecommerce.dto;

/**
 *
 * @author ngloc_it
 */
public class GlobalWeatherDTO {
    private String location;
    private String time;
    private String wind;
    private String windVisiblity;
    private String skyCondition;
    private String temperature;
    private String dewPoint;
    private String relativeHumidity;
    private String pressure;
    private String status;

    public GlobalWeatherDTO(){
        location = null;
        time = null;
        wind = null;
        windVisiblity = null;
        skyCondition = null;
        temperature = null;
        dewPoint = null;
        relativeHumidity = null;
        pressure = null;
        status = null;
    }

    public GlobalWeatherDTO(String location, String time, String wind, String windVisiblity, String skyCondition, String temperature, String dewPoint, String relativeHumidity, String pressure, String status) {
        this.location = location;
        this.time = time;
        this.wind = wind;
        this.windVisiblity = windVisiblity;
        this.skyCondition = skyCondition;
        this.temperature = temperature;
        this.dewPoint = dewPoint;
        this.relativeHumidity = relativeHumidity;
        this.pressure = pressure;
        this.status = status;
    }
    
    public String getDewPoint() {
        return dewPoint;
    }

    public void setDewPoint(String dewPoint) {
        this.dewPoint = dewPoint;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPressure() {
        return pressure;
    }

    public void setPressure(String pressure) {
        this.pressure = pressure;
    }

    public String getRelativeHumidity() {
        return relativeHumidity;
    }

    public void setRelativeHumidity(String relativeHumidity) {
        this.relativeHumidity = relativeHumidity;
    }

    public String getSkyCondition() {
        return skyCondition;
    }

    public void setSkyCondition(String skyCondition) {
        this.skyCondition = skyCondition;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getWind() {
        return wind;
    }

    public void setWind(String wind) {
        this.wind = wind;
    }

    public String getWindVisiblity() {
        return windVisiblity;
    }

    public void setWindVisiblity(String windVisiblity) {
        this.windVisiblity = windVisiblity;
    }

    public static final String TAB_Location = "Location";
    public static final String TAB_Time = "Time";
    public static final String TAB_Wind = "Wind";
    public static final String TAB_Visibility = "Visibility";
    public static final String TAB_SkyConditions = "SkyConditions";
    public static final String TAB_Temperature = "Temperature";
    public static final String TAB_DewPoint = "DewPoint";
    public static final String TAB_RelativeHumidity = "RelativeHumidity";
    public static final String TAB_Pressure = "Pressure";
    public static final String TAB_Status = "Status";
}

//<string><?xml version="1.0" encoding="utf-16"?>
//<CurrentWeather>
//  <Location>Miri, Malaysia (WBGR) 04-20N 113-59E 18M</Location>
//  <Time>Jun 01, 2011 - 11:00 AM EDT / 2011.06.01 1500 UTC</Time>
//  <Wind> from the E (090 degrees) at 1 MPH (1 KT):0</Wind>
//  <Visibility> greater than 7 mile(s):0</Visibility>
//  <SkyConditions> mostly cloudy</SkyConditions>
//  <Temperature> 78 F (26 C)</Temperature>
//  <DewPoint> 75 F (24 C)</DewPoint>
//  <RelativeHumidity> 88%</RelativeHumidity>
//  <Pressure> 29.83 in. Hg (1010 hPa)</Pressure>
//  <Status>Success</Status>
//</CurrentWeather></string>
